package com.atguigu4.Exercise2;

import java.sql.Date;

public class Swx01 {
	private int number;
	private String name;
	private String password;
	private Date birthday;
	private int score;
	private int salary;
	public Swx01() {
		super();
	}
	public Swx01(int number, String name, String password, Date birthday, int score, int salary) {
		super();
		this.number = number;
		this.name = name;
		this.password = password;
		this.birthday = birthday;
		this.score = score;
		this.salary = salary;
	}
	public int getNumber() {
		return number;
	}
	public void setNumber(int number) {
		this.number = number;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public int getScore() {
		return score;
	}
	public void setScore(int score) {
		this.score = score;
	}
	public int getSalary() {
		return salary;
	}
	public void setSalary(int salary) {
		this.salary = salary;
	}
	@Override
	public String toString() {
		return "Swx01 [number=" + number + ", name=" + name + ", password=" + password + ", birthday=" + birthday
				+ ", score=" + score + ", salary=" + salary + "]";
	}
}
